package com.wh.org.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wh.org.pojo.Shop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ShopDao extends BaseMapper<Shop> {
    List<Shop> findByPage(@Param("page") IPage<Shop> page, @Param("ew") QueryWrapper<Shop> qw);

//    void add(Shop shop);
//    void del(Long id);
//
//    void upd(Long id);
//
//    List<Shop> findAll();
//    Shop findById(Long id);
//    //批量删除
//    void patchDel(Long[] ids);
//    List<Shop> findByPage(ShopDto shopDto);

}
